<%--
  Created by IntelliJ IDEA.
  Author: Deng PengFei
  Date: 2021/8/14
  Time: 16:30
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>网站公告</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <%--引入LayUI--%>
    <link href="layui/css/layui.css" rel="stylesheet">
    <script src="layui/layui.js"></script>
    <script src="js/jquery-3.1.0.js"></script>

    <style>
        body {
            background-color: #eeeeee;
        }

        .layui-row {
            padding: 10px;
            margin: 10px;
            background-color: white;
            border-radius: 5px;
        }

        .left {
            width: 20%;
            text-align: right;
        }
    </style>
</head>
<body>
<div class="layui-layout layui-layout-admin">


    <%--面包屑导航--%>
   <%-- <div class="layui-row">
            <span class="layui-breadcrumb">
             <a href="teacher/adviser/studentInfo.jsp">首页</a><a><cite>网站公告</cite></a>
            </span>
    </div>--%>


    <%--公告表格盒子--%>
    <div class="layui-row">
        <%--公告信息表格--%>
        <table class="layui-hide" id="msg-table" lay-filter="msg-table"></table>
    </div>


</div>
</body>

<%--头部工具栏--%>
<div id="msg-table-toolbar" style="display: none">
    <div class="test-table-reload-btn">
        <div class="layui-inline" style="border: #009f95 solid 1px">
            <label for="queryKey"></label>
            <input class="layui-input" id="queryKey" autocomplete="off" placeholder="输入公告标题查询">
        </div>
        <a class="layui-btn layui-btn-primary layui-border-green" lay-event="queryMsg">搜 索</a> <%--按字段查询--%>
        <a class="layui-btn layui-btn-primary layui-border-green" lay-event="queryAll">全 部</a> <%--查询全部--%>
    </div>
</div>

<%--操作栏--%>
<div id="msg-table-tool" style="display: none">
    <button class="layui-btn layui-btn-radius  layui-btn-primary layui-border-green layui-btn-xs" lay-event="detail">
        查看详情
    </button>
</div>


<%--公告详情模板--%>
<div class="layui-row" id="msg-detail" style="display: none">
    <table class="layui-table" lay-skin="line">
        <tbody>
        <tr>
            <td class="left">编号:</td>
            <td id="msg-id"></td>
        </tr>
        <tr>
            <td class="left">标题:</td>
            <td id="msg-title"></td>

        </tr>
        <tr>
            <td class="left">发布人:</td>
            <td id="msg-author"></td>

        </tr>
        <tr>
            <td class="left">发布时间:</td>
            <td id="msg-time"></td>
        </tr>
        <tr>
            <td class="left">公告内容:</td>
            <td id="msg-content"></td>
        </tr>
        <tr>
            <td class="left">附件:</td>
            <td id="msg-fileName"></td>
        </tr>
        </tbody>
    </table>
</div>

<script src="js/message.js"></script>


</html>
